package com.cmc.cloud.cmclink.doc.vo.sovo.soforecastvo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 订舱预配信息Response VO
 *
 * @author codegen
 */
@Schema(description = "管理后台 - 订舱预配信息 Response VO")
@Data
@ToString(callSuper = true)
public class SoForecastSplitCombineVO {
    @Schema(description = "箱型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotBlank(message = "箱型不能为空")
    @Length(max = 2, message = "箱型支持最大长度{max}")
    private String cntrType;
    @Schema(description = "箱尺寸 同尺寸拆分", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "箱尺寸 同尺寸拆分不能为空")
    @Length(max = 2, message = "箱尺寸 同尺寸拆分支持最大长度{max}")
    private String cntrSize;
    @Schema(description = "箱量 拆分规则 用户自己填写", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "箱量 拆分规则 用户自己填写不能为空")
    private Long cntrQuantity;
}
